<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>修改</title>
    <script type="text/javascript" src="/javascripts/jquery.min.js"></script>
    <script type="text/javascript" src="/javascripts/bootstrap.js"></script>
    <link rel="stylesheet" href="/stylesheets/bootstrap.css">
    <link rel="stylesheet" href="/stylesheets/style.css">
</head>
<body>
<% include header.ejs %>

<div class="container">
    <form class="form-horizontal" action="/users/updateUser" method="post">
        <div class="form-group">
            <label for="id" class="col-sm-1 control-label">ID</label>
            <div class="col-sm-11">
                <input type="text" class="form-control" id="id" name="id" placeholder="ID" value="<%=user.id%>" readonly>
            </div>
        </div>
        <div class="form-group">
            <label for="name" class="col-sm-1 control-label">姓名</label>
            <div class="col-sm-11">
                <input type="text" class="form-control" id="name" name="name" placeholder="Name" value="<%=user.name%>">
            </div>
        </div>
        <div class="form-group">
            <label for="age" class="col-sm-1 control-label">年龄</label>
            <div class="col-sm-11">
                <input type="text" class="form-control" id="name" name="age" placeholder="Age" value="<%=user.age%>">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-1 col-sm-11">
                <button type="submit" class="btn btn-default">修改</button>
            </div>
        </div>
    </form>
</div>
<!-- /.container -->

</body>
</html>